#include <stdio.h>  
#include "RTMPStream.h"  
  
int main(int argc,char* argv[])  
{  
    CRTMPStream rtmpSender;  
  
    bool bRet = rtmpSender.Connect("rtmp://127.0.0.1/live");  

    rtmpSender.SendH264File("1.264");  
  
    rtmpSender.Close();  
}  
